package com.jk.customer.service;

import com.jk.customer.entity.*;

import javax.servlet.http.HttpSession;
import java.text.ParseException;
import java.util.List;

/**
 * 方法实现说明    (service)
 * @author      潘天赐
 * @return
 * @exception   
 * @date        2021/10/11 20:32
 */
public interface SellerService {

    List<MaterialsEntity> queryMaterials(String showPriceId);

    void addOffer(OfferFormEntity offer,HttpSession session);

    List<MaterialsEntity> queryMaterialsOffer(String id, HttpSession session);

    OfferFormEntity findByOffer(Integer oid, HttpSession session);

    void updateOffer(OfferFormEntity offer);

    List<ProductEntity> queryMaterialsAll(ProductEntity product, HttpSession session);

    void updateMaterials(MaterialsEntity materials);

    MaterialsEntity export(Integer id, HttpSession session);

    List<PictureFile> queryPictureFile(String id, HttpSession session);

    void addFile(PictureFile file, HttpSession session);

    void deleteFile(Integer id);

    List<MaterialsTypeEntity> queryMaterialsType();

    void addPictureMaterials(MaterialsEntity materials, HttpSession session);

    MaterialsEntity queryPictureMaterials(String id);

    void updatePictureMaterials(MaterialsEntity materials);

    BusinessClass findByOrder(String id,HttpSession session) throws ParseException;

    List<MaterialsEntity> queryMaterialsMessage(String id);
}
